package com.moore.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)
public class TenantInfo {

  private long id;
  private String tenant;
  private String realName;
  private String idCard;
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date birthDate;
  private String phone;
  private String idCardImage;
  private String householdRegister;
  private String occupation;
  private String workUnit;
  private double annualIncome;
  private long familySize;
  private String protectionType;
  private double housingArea;
  private String education;
  private String diploma;
  private String requestedArea;
  private String status;
  private String remarks;
  private String idUpload;
  private String hukouUpload;
  private String graduationCertificate;
  private String reason;
  private int curr;
  private int size;
  private boolean isAllocated;
  private String assignedApartment;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getTenant() {
    return tenant;
  }

  public void setTenant(String tenant) {
    this.tenant = tenant;
  }


  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }


  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }


  public Date getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(Date birthDate) {
    this.birthDate = birthDate;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getIdCardImage() {
    return idCardImage;
  }

  public void setIdCardImage(String idCardImage) {
    this.idCardImage = idCardImage;
  }


  public String getHouseholdRegister() {
    return householdRegister;
  }

  public void setHouseholdRegister(String householdRegister) {
    this.householdRegister = householdRegister;
  }


  public String getOccupation() {
    return occupation;
  }

  public void setOccupation(String occupation) {
    this.occupation = occupation;
  }


  public String getWorkUnit() {
    return workUnit;
  }

  public void setWorkUnit(String workUnit) {
    this.workUnit = workUnit;
  }


  public double getAnnualIncome() {
    return annualIncome;
  }

  public void setAnnualIncome(double annualIncome) {
    this.annualIncome = annualIncome;
  }


  public long getFamilySize() {
    return familySize;
  }

  public void setFamilySize(long familySize) {
    this.familySize = familySize;
  }


  public String getProtectionType() {
    return protectionType;
  }

  public void setProtectionType(String protectionType) {
    this.protectionType = protectionType;
  }


  public double getHousingArea() {
    return housingArea;
  }

  public void setHousingArea(double housingArea) {
    this.housingArea = housingArea;
  }


  public String getEducation() {
    return education;
  }

  public void setEducation(String education) {
    this.education = education;
  }


  public String getDiploma() {
    return diploma;
  }

  public void setDiploma(String diploma) {
    this.diploma = diploma;
  }


  public String getRequestedArea() {
    return requestedArea;
  }

  public void setRequestedArea(String requestedArea) {
    this.requestedArea = requestedArea;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getIdUpload() {
    return idUpload;
  }

  public void setIdUpload(String idUpload) {
    this.idUpload = idUpload;
  }

  public String getHukouUpload() {
    return hukouUpload;
  }

  public void setHukouUpload(String hukouUpload) {
    this.hukouUpload = hukouUpload;
  }

  public String getGraduationCertificate() {
    return graduationCertificate;
  }

  public void setGraduationCertificate(String graduationCertificate) {
    this.graduationCertificate = graduationCertificate;
  }

  public String getReason() {
    return reason;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }

  public int getCurr() {
    return curr;
  }

  public void setCurr(int curr) {
    this.curr = curr;
  }

  public int getSize() {
    return size;
  }

  public void setSize(int size) {
    this.size = size;
  }

  public boolean isAllocated() {
    return isAllocated;
  }

  public void setAllocated(boolean allocated) {
    isAllocated = allocated;
  }

  public String getAssignedApartment() {
    return assignedApartment;
  }

  public void setAssignedApartment(String assignedApartment) {
    this.assignedApartment = assignedApartment;
  }
}
